import request from '@/utils/request'

export default {
    getTemporaryparkListPage(current,limit,temporaryparkQuery){
        return request({
            url: `/proservice/pro-temporarypark/pageTemParkCondition/${current}/${limit}`,
            method: 'post',
            data:temporaryparkQuery
        })
    },
    deleteTemporaryparkById(id){
        return request({
            url: `/proservice/pro-temporarypark/${id}`,
            method: 'delete'
        })
    },
    addTemporarypark(proTemporarypark){
        return request({
            url: `/proservice/pro-temporarypark/addTemPark`,
            method: 'post',
            data: proTemporarypark
        })
    },
    getTemporaryparkById(id){
        return request({
            url: `/proservice/pro-temporarypark/getTemPark/${id}`,
            method: 'get'
        })
    },
    updateTemporaryparkInfo(proTemporarypark){
        return request({
            url: `/proservice/pro-temporarypark/updateTemPark`,
            method: 'post',
            data: proTemporarypark
        })
    }
}

